package gui;

import java.awt.BorderLayout;
import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JButton;


import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;
import java.awt.Color;

public class FrameCd extends JFrame {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private JPanel contentPane;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					FrameCd frame = new FrameCd();
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public FrameCd() {
		setTitle("Manipula\u00E7\u00E3o de CDs");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 450, 300);
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		contentPane.setLayout(null);
		
		JLabel lblCds = new JLabel("CDs");
		lblCds.setForeground(Color.DARK_GRAY);
		lblCds.setFont(new Font("Eras Demi ITC", Font.PLAIN, 18));
		lblCds.setBounds(195, 47, 54, 31);
		contentPane.add(lblCds);
		
		JButton btnCadastrarCd = new JButton("Cadastrar");
		btnCadastrarCd.setBounds(146, 89, 140, 23);
		contentPane.add(btnCadastrarCd);
		
		JButton btnProcurarCd = new JButton("Procurar");
		btnProcurarCd.addActionListener(new ActionListener() {
			public void actionPerformed(ActionEvent arg0) {
				
			}
		});
		btnProcurarCd.setBounds(146, 123, 140, 23);
		contentPane.add(btnProcurarCd);
		
		JButton btnAtualizarCd = new JButton("Atualizar");
		btnAtualizarCd.setBounds(146, 157, 140, 23);
		contentPane.add(btnAtualizarCd);
		
		JButton btnRemover = new JButton("Remover");
		btnRemover.setBounds(146, 191, 140, 23);
		contentPane.add(btnRemover);
		
		JLabel label = new JLabel("Loja de Discos");
		label.setFont(new Font("Eras Demi ITC", Font.PLAIN, 20));
		label.setBounds(146, 11, 145, 31);
		contentPane.add(label);
	}
	
		

}
